package com.love.netty.model;

import lombok.Data;

/**
 * @ClassName: Session
 * @Description:
 * @Author: wuj
 * @Date: 2021-06-24 17:23
 **/
@Data
public class Session {

    // 用户唯一性标识
    private String userId;
    private String userName;

    public Session(String userId, String userName) {
        this.userId = userId;
        this.userName = userName;
    }

    @Override
    public String toString() {
        return userId + ":" + userName;
    }
}
